how to compute determinant using row operations